package Level_one;

import java.util.Scanner;

public class Four {
    public static void main(String[] args) {
        System.out.println("请输入一个1到5的数字");
        int i = new Scanner(System.in).nextInt();
        switch (i) {
            case 1:
                System.out.println("新建");
                break;
            case 2:
                System.out.println("打开文件");
                break;
            case 3:
                System.out.println("保存");
                break;
            case 4:
                System.out.println("刷新");
                break;
            case 5:
                System.out.println("退出");
                System.exit(0);
        }
    }
}
